@import './variables.scss';
@import './sidebar.scss';
@import './table.scss';

body {
    height: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
    font-size: 14px;
    padding:0;
    margin:0;
  }
  textarea{
    resize: none !important;
  }
  label {
    font-weight: 700;
  }
  
  html {
    height: 100%;
    box-sizing: border-box;
  }
  
  #app {
    height: 100%;
  }
  
  *,
  *:before,
  *:after {
    box-sizing: inherit;
  }
  
  .no-padding {
    padding: 0px !important;
  }
  
  .padding-content {
    padding: 4px 0;
  }
  
  a:focus,
  a:active {
    outline: none;
  }
  
  a,
  a:focus,
  a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
  }
  
  div:focus {
    outline: none;
  }
  
  .fr {
    float: right;
  }
  
  .fl {
    float: left;
  }
  
  .pr-5 {
    padding-right: 5px;
  }
  
  .pl-5 {
    padding-left: 5px;
  }
  
  .block {
    display: block;
  }
  
  .pointer {
    cursor: pointer;
  }
  
  .inlineBlock {
    display: block;
  }
  
  .clearfix {
    &:after {
      visibility: hidden;
      display: block;
      font-size: 0;
      content: " ";
      clear: both;
      height: 0;
    }
  }
  .el-dialog__headerbtn .el-dialog__close {
    color: #434345;
  }
  
  aside {
    background: #eef1f6;
    padding: 8px 24px;
    margin-bottom: 20px;
    border-radius: 2px;
    display: block;
    line-height: 32px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: #2c3e50;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  
    a {
      color: #337ab7;
      cursor: pointer;
  
      &:hover {
        color: rgb(32, 160, 255);
      }
    }
  }
  
  //main-container全局样式
  .app-container {
    padding: 20px;
  }
  
  .components-container {
    margin: 30px 50px;
    position: relative;
  }
  
  .pagination-container {
    margin-top: 30px;
  }
  
  .text-center {
    text-align: center
  }
  
  .sub-navbar {
    height: 50px;
    line-height: 50px;
    position: relative;
    width: 100%;
    text-align: right;
    padding-right: 20px;
    transition: 600ms ease position;
    background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  
    .subtitle {
      font-size: 20px;
      color: #fff;
    }
  
    &.draft {
      background: #d0d0d0;
    }
  
    &.deleted {
      background: #d0d0d0;
    }
  }
  
  .link-type,
  .link-type:focus {
    color: #337ab7;
    cursor: pointer;
  
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
  
  .filter-container {
    padding-bottom: 10px;
  
    .filter-item {
      display: inline-block;
      vertical-align: middle;
      margin-bottom: 10px;
      margin-right:10px;
    }
  }
  
  .operator-container {
    padding-bottom: 10px;
    display: flex;
    justify-content: flex-end;
  }
  
  //refine vue-multiselect plugin
  .multiselect {
    line-height: 16px;
  }
  
  .multiselect--active {
    z-index: 1000 !important;
  }
  
  .readonlyInput textarea{
    border: none;
    resize:none;
  }
  
  .el-menu{
    border-bottom:none;
    font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif,'Microsoft YaHei';
  }
  .el-menu--horizontal .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal .el-menu-item:not(.is-disabled):focus{
    color:#fff;
  }
  .el-menu--horizontal>.el-menu-item.is-active{
    color:#fccf00;
  }
  .el-menu--horizontal>.el-submenu:focus .el-submenu__title, .el-menu--horizontal>.el-submenu:hover .el-submenu__title{
    color:#fff;
  }
  .el-menu--horizontal>.el-submenu .el-submenu__title{
    color:#fff;
  }
  .el-menu--horizontal>.el-menu-item{
    color:#fff;
    font-size: 15px;
      font-weight: 400;
      
      
  }
  .el-menu.el-menu--horizontal{
    border-bottom:none;
  }
  
  .el-menu--horizontal>.el-menu-item.is-active {
    border-bottom: 5px solid #fccf00;
  }
  .el-menu--horizontal .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal .el-menu-item:not(.is-disabled):focus{
    background-color: #004e9b; 
  }
  .el-button，.el-button.el-button--primary:hover, .el-button.el-button--primary:focus{
    background-color: #004e9b;
    border-color: #004e9b;
  }
  .el-button--primary{
    background-color: #004e9b;
    border-color: #004e9b;
  }
  .el-button:hover, .el-button:focus{
    background: #fff; 
  }
  .el-pagination.is-background .el-pager li:not(.disabled).active{
    background-color: #004e9b;
    border-color: #004e9b;
  }
  
 
 
 
  
  .el-table__header th {
    border-bottom: 1px solid #dfe6ec;
    background-color: rgba(0,78,155,0.05);
  }

  
  
  
  .left .el-select{
    width:100%;
  }
  .el-sub-menu{
    background-color: #004e9b;
  }
  .el-sub-menu__title{
    color:#fff !important;
  }
  .el-sub-menu .el-menu-item.is-active{
    color:#fccf00 !important;
  }

  .is-active .el-sub-menu__title{
    color:#fccf00 !important;
  }
   
  
  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #3071a9;
    border-color: #3071a9;
  }
  
  .el-button--primary:hover, .el-button--primary:focus{
    background-color: #3071a9;
    border-color: #285e8e;
  }
  
  .formPageTitle{
    
    margin: 0;
    min-height: 33px;
    line-height: 33px;
    color: #444;
    font-size: 1.5rem;
    margin-bottom:15px;
  }
  
  .app-container{
    background: #fff;
    padding:20px;
    margin:15px;
    border-radius: 6px;
    border:1px solid #dfe6ec;
  }
  .app-container-form{
    padding:20px;
  }
  .el-button--medium{
    padding:8px 30px;
  }
  .app-container-form .formPage .el-form-item{
    border-left: 1px solid #dedede;
  }
  .app-container-form .el-form-item.blank{
    border-left: 0;
  }
  .app-container-form .el-form-item.noRight{
    border-right:0;
  }
  
  .el-select-dropdown__wrap.el-scrollbar__wrap{
    background-color: #fff;
  }
  .theFromWrapper.viewApply{
    padding:20px;
    display: block;
  }
  
  .viewApply .el-form-item--small .el-form-item__content,
  .viewApply .theFromWrapper .formFlexContainer  .el-form-item--small .el-form-item__label,
  .viewApply .el-form-item--small .el-form-item__label{
    line-height: 40px !important;
    height: 40px !important;
  }
  .el-button--danger{
    background-color: #943839;
    border-color: #943839;
  }
  .el-button--danger:hover, .el-button--danger:focus{
    background-color: #943839;
    border-color: #943839;
  }
   
  .el-message__content{
      font-size:16px;
    color: #004e9b;
  }
  .el-message .el-icon-warning {
      color: #004e9b;
      font-size: 18px;
  }
  .el-message--warning .el-message__content{
    color: #004e9b;
  }
  .el-message--warning {
    background-color: #fff;
    border-color: #fff1cc;
  }
  
  .el-table__header th{
    color: #576077;
  }
  .el-menu-item,
  .pageTitle,
  .el-image.page-logo,
  .el-submenu__title{
    user-select: none;
  }
  .formFlexContainer .el-date-editor.el-input,
  .formFlexContainer  .el-date-editor.el-input__inner{
    width:100%;
  }
  
  .errorMsg .el-alert__title {
    font-size: 15px;
    line-height: 30px;
  }
  .errorDataTableTitle{
  margin-top: 15px;
  font-size: 16px;
  color:#576077; 
  }
  .errorDataTable{
  width:100%;
  }
  .errorDataTable th{
  background-color: rgba(0,78,155,0.05);
  color:#576077; 
      width: 100px;
    text-align: right;
    padding-right: 10px;
    
   border: 1px solid #dedede; 
  }
  .errorDataTable {
  border-collapse: collapse;
  margin-top: 10px;
  }
  .errorDataTable td{
  padding: 10px;
  
   border: 1px solid #dedede; 
  }
  
  .page-toolbar{
    margin-bottom: 20px;
    clear: both;
  }
  
  
  .textareaItem .el-form-item__label{
    height: 100% !important;
    align-items: center;
    display: flex;
    justify-content: end;
  }
  .textareaItem .el-form-item__content{
  padding-top: 10px;
  height:100% !important;
  }
  
  .viewApply .textareaItem .el-form-item__content{
    height: auto !important;
  }
  
  .viewApply .textareaItem .el-form-item__label{
    height: 100% !important;
    align-items: center;
    display: flex;
    justify-content: end;
  }
  .fullContent{
    line-height: 25px;
    padding-bottom: 10px;
  }
  
  .el-tabs__item{
    font-size:16px;
  }
  .pageHolder{
    padding: 20px 10px 10px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }